import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入 vant 组件库
import Vant from 'vant'
import 'vant/lib/index.css'

// 引入全局样式表
import './assets/global.css'

// 自动设置 rem 基准值
import 'amfe-flexible'

import './utils/dayjs'

// 引入 axios
// import axios from 'axios'
// axios.defaults.baseURL = 'http://ttapi.research.itcast.cn/'
// Vue.prototype.$axios = axios

Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
